﻿<%@ Page Language="VB" MasterPageFile="~/App/Master/App.master" AutoEventWireup="false" CodeFile="PostSearch.aspx.vb" Inherits="App_PostSearch" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CphHead" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CphMainContent" runat="Server">



    <div class="social-popup">
        <!-- titolo -->
        <div class="top-bar">
            <div class="top-bar-popup">
                tweets on 
                <asp:Label runat="server" ID="LblSearch"></asp:Label>
            </div>
            <div class="logged">logged in as <a href="#" class="logged_user">@<% = Me.CurrAccount.Fullname%></a></div>
            <div><a href="#" class="a-icona7 tooltip" title="Tips Icon"></a></div>
        </div>
        <!-- fine titolo -->
        <!-- contenuti -->
        <div class="well-social-popup">

            <div class="social-popup-head">
                <div class="socialseo-popup-head-avatar">
                    <a class="found-head-title" href="#">avatar</a>
                </div>
                <div class="socialseo-popup-head-tweets">
                    <a class="found-head-title" href="#">tweets</a>
                </div>
                <div class="socialseo-popup-head-bio">
                    <a class="found-head-title" href="#">bio</a>
                </div>
                <div class="socialseo-popup-head-info">
                    <a class="found-head-title" href="#"></a>
                </div>
            </div>

            <asp:ListView runat="server" ID="ListMessage">
                <ItemTemplate>
                    <div class="found-cont">
                        <ul>
                            <li class="socialseo-popup-head-avatar">
                                <div class="icona-foto-mention">
                                    <img src="<%# eval("user.profile_image_url") %>" />
                                </div>
                            </li>
                            <li class="socialseo-popup-head-tweets">
                                <div class="mention">
                                    <div class="content-mention">
                                        <div class="profilo-mention">
                                            <ul>
                                                <li class="utente-mention">@<%# eval("user.screen_name") %></li>
                                                <li class="time-mention"><%# CurrAccount.Print.TimeNow2(Eval("post.created_at"))%></li>
                                                <li class="indietro-mention">
                                                    <asp:LinkButton runat="server" ID="BtnReply" CssClass="a-icona-indietro" ClientIDMode="AutoID" CommandName="REPLY" />
                                                </li>
                                                <li class="aggiorna-mention">
                                                    <asp:LinkButton runat="server" ID="BtnShare" CssClass="a-icona-aggiorna" ClientIDMode="AutoID" CommandName="SHARE" />
                                                </li>
                                                <li class="stella-mention">
                                                    <asp:LinkButton runat="server" ID="BtnFavorite" CssClass="a-icona-stella" ClientIDMode="AutoID" CommandName="FAVORITE" />
                                                </li>
                                                <li class="busta-mention">
                                                    <a class="a-icona-busta" href="#"></a>
                                                </li>
                                            </ul>
                                        </div>
                                        <div class="testo-mention"><%# MyUI.Print.Post(Eval("post.text"))%></div>
                                    </div>
                                    <div class="counter-tweet">
                                        <div class="count">
                                            <div class="counter-n"><%# UI.Print.Num0(eval("user.statuses_count")) %></div>
                                            <div class="counter-t">TWEETS</div>
                                        </div>
                                        <div class="count">
                                            <div class="counter-n"><%# UI.Print.Num0(eval("user.friends_count")) %></div>
                                            <div class="counter-t">FOLLOWING</div>
                                        </div>
                                        <div class="count">
                                            <div class="counter-n"><%# UI.Print.Num0(eval("user.followers_count")) %></div>
                                            <div class="counter-t">FOLLOWERS</div>
                                        </div>
                                    </div>
                                    <div class="ok-dm" align="right">
                                        <div>
                                            <a class="a-icona9" target="_blank" href="https://twitter.com/<%# Eval("user.screen_name")%>/status/<%# Eval("post.id_str")%>"></a>
                                        </div>
                                        <div>
                                            <asp:LinkButton runat="server" CssClass="a-icona1 tooltip" title="Follow/unfollow this user" ID="BtnFollow" CommandName="FOLLOW" Text="" />
                                        </div>
                                        <div>
                                            <asp:Label runat="server" ID="LblFollower" CssClass="a-icona2 tooltip" Text="" title="If active, this user is following you"></asp:Label>
                                        </div>
                                        <div>
                                            <a class="a-icona3 tooltip" href="#" title="Tips Icon"></a>
                                        </div>
                                    </div>
                                </div>
                            </li>
                            <li class="socialseo-popup-head-bio">
                                <div class="socialseo-popup-head-bio-title"><%# eval("user.name") %></div>
                                <div class="socialseo-popup-head-bio-text"><%# MyUI.Print.Post(Eval("user.description"))%></div>
                            </li>
                            <li class="socialseo-popup-text-info">
                                <div><%# eval("user.location") %></div>
                                <div>website</div>
                            </li>
                        </ul>
                    </div>
                </ItemTemplate>
            </asp:ListView>

            <App:DataPager runat="server" Controlid="ListMessage" PageSize="30" OnPageChanged="SetListMessage" />

        </div>
        <!-- fine Content Container -->
    </div>



</asp:Content>
